<template>
  <div>
 V1: <input type="text" :value="modelValue" @input="$emit('update:modelValue',$event.target.value)">
 V2:<input type="text" :value="text2" @input="$emit('update:text2',$event.target.value)">
  </div>
</template>
<script setup lang="ts">
let {modelValue,text2}=defineProps(['modelValue','text2'])
defineEmits(['update:modelValue','update:text2'])
// console.log(a);

</script>
<style>
</style>
